<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
<f:view contentType="text/html">
	<h:head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>SIIPE</title>
		<h:outputStylesheet library="css" name="siipeweb.css" />
		<h:outputScript library="js" name="calendar_es.js" />
		<h:outputScript library="js" name="siipeweb.js" />
		<style type="text/css">
        .ui-widget {
        	font-size: 93% !important;
        }
        .ui-layout-north .ui-layout-unit-content {
        	overflow: visible !important;
        	background: transparent !important;
        }
</style>
	</h:head>
	<h:body>
		<p:growl id="growlBox" showDetail="false" showSummary="true"
			sticky="false" autoUpdate="true" globalOnly="true" />
		<p:layout fullPage="true">
			<p:layoutUnit position="north" size="113" resizable="false"
				closable="false" collapsible="false">
				<ui:include src="/WEB-INF/templates/header.xhtml" />
			</p:layoutUnit>
			<p:layoutUnit position="west" size="350" resizable="true"
				closable="false" collapsible="false" header="Menu">
				<!--   <ui:include src="/WEB-INF/templates/menuGeneral.xhtml" />-->
			</p:layoutUnit>
			<p:layoutUnit position="center">
				<p:idleMonitor timeout="600000" onidle="idleDialog.show()" />

				<p:dialog header="Tiempo sin actividad" closable="false"
					resizable="false" widgetVar="idleDialog" modal="true" width="280">
					<h:outputText value="Se cerró su sesión por inactividad." />
					<br />
				</p:dialog>
				<!--  <p:messages globalOnly="true" autoUpdate="true" />  --> 
				<ui:insert name="content"></ui:insert>
			</p:layoutUnit>
			<p:layoutUnit position="south" resizable="false" closable="false"
				collapsible="false">
				<ui:include src="/WEB-INF/templates/footer.xhtml" />
			</p:layoutUnit>

		</p:layout>
	</h:body>
</f:view>
</html>
